gtk-demo: Replace old code
authorBenjamin Otte <otte@redhat.com>
Fri, 3 Oct 2014 04:59:14 +0000 (06:59 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 3 Oct 2014 04:59:14 +0000 (06:59 +0200)
commitc9d9c9158f117e07e359108649f4601b584b7612
tree58d34f875cd544af393cd71efb3337f6d405cdaa
parent2b6a4ba8907c82ba1844711606a3cf6292fe25e2
gtk-demo: Replace old code

"Hey I know, let's do an easter egg!"
"What kind of easter egg?"
"We can nest lots of textviews!"
"Sounds cool!"
...
"But how does one see a textview inside a textview?"
"What do you mean?"
"Well, it just looks like black text on a white background."
"You mean it's the same as if we just duplicated the text?"
"Yeah!"
"Hrm, maybe we can put a frame around it."
"Sounds good. I'll stuff the textviews in a GtkFrame."
"What? Why? Let's use a GtkEventBox and override its background"
"Why is that a good idea when we have GtkFrame?"
"Because I said so!"
"Okay."
demos/gtk-demo/textview.c